package com.summary.richtext.service;

import com.summary.richtext.entity.Student;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface StudentService {

    /**
     * excel导入(学生信息表)
     * @param response
     */
    void realizationExcel(HttpServletResponse response) throws Exception;

    /**
     * excel导出(学生信息表)
     * @param file
     * @return
     * @throws Exception
     */
    List<Student> realizationImprot(MultipartFile file) throws Exception;
}
